//
//  PanHorizontalGestureRecognizer.h
//  TableViewCellLabs
//
//  Created by NicholasXu on 13-9-30.
//  Copyright (c) 2013年 Deheng.Xu. All rights reserved.
//

#import <UIKit/UIGestureRecognizerSubclass.h>
#import "CustomGestureRecognizer.h"

typedef enum
{
    PanGestureNoneDirection = 0,
    PanGestureUpDirection = 1,
    PanGestureRightDirection = 2,
    PanGestureDownDirection = 4,
    PanGestureLeftDirection = 8
}PanGestureDirection;

@interface PanHorizontalGestureRecognizer : UIGestureRecognizer

@property (nonatomic, readonly) CGPoint beginPoint;
@property (nonatomic, readonly) CGPoint touchedPoint;
@property (nonatomic, readonly) CGFloat k;

@property (nonatomic, readwrite) UIGestureRecognizerState state;
@property (nonatomic) PanGestureDirection gestureDirection;

@end
